package io.jt808.proto.item;


import io.norland.buffer.AutoBuffer;
import io.norland.proto.IProto;

public class PositionAdditionalE0FollowedBytesLength implements IProto {
    private int privateFollowedBytesLength;

    public byte[] writeToBytes() {
        AutoBuffer buffer = new AutoBuffer();
        buffer.writeInt(this.privateFollowedBytesLength);
        return buffer.array();
    }

    public void readFromBuf(AutoBuffer buffer) {
        this.privateFollowedBytesLength = buffer.readInt();
    }
}